package com.pinyoumei.app.bean;

import java.util.List;

/**
 * Created by Administrator on 2021-09-07.
 * --------- 日期 ------- 维护人 ------------ 变更内容 --------
 * 2021-09-07        Administrator             新增Person类
 * 2021-09-07        Administrator             增加sex属性
 */
public class LuckyValueBean {

    /**
     * code : 1
     * errors : {}
     * msg : 操作成功
     * result : {"data_list":[{"reason":"幸运转盘抽奖","change_num":600,"change_type":2,"before_num":1300,"add_time":"2021-09-01 16:13:19"},{"reason":"幸运转盘抽奖","change_num":600,"change_type":2,"before_num":1900,"add_time":"2021-09-01 16:06:51"},{"reason":"幸运转盘抽奖","change_num":600,"change_type":2,"before_num":2500,"add_time":"2021-09-01 16:03:21"},{"reason":"幸运转盘抽奖","change_num":600,"change_type":2,"before_num":3100,"add_time":"2021-09-01 15:49:16"},{"reason":"幸运转盘抽奖","change_num":600,"change_type":2,"before_num":3700,"add_time":"2021-09-01 15:40:35"}],"available_lucky_num":1300}
     */

    private int code;
    private ErrorsBean errors;
    private String msg;
    private ResultBean result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ErrorsBean getErrors() {
        return errors;
    }

    public void setErrors(ErrorsBean errors) {
        this.errors = errors;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ErrorsBean {
    }

    public static class ResultBean {
        /**
         * data_list : [{"reason":"幸运转盘抽奖","change_num":600,"change_type":2,"before_num":1300,"add_time":"2021-09-01 16:13:19"},{"reason":"幸运转盘抽奖","change_num":600,"change_type":2,"before_num":1900,"add_time":"2021-09-01 16:06:51"},{"reason":"幸运转盘抽奖","change_num":600,"change_type":2,"before_num":2500,"add_time":"2021-09-01 16:03:21"},{"reason":"幸运转盘抽奖","change_num":600,"change_type":2,"before_num":3100,"add_time":"2021-09-01 15:49:16"},{"reason":"幸运转盘抽奖","change_num":600,"change_type":2,"before_num":3700,"add_time":"2021-09-01 15:40:35"}]
         * available_lucky_num : 1300
         */

        private int available_lucky_num;
        private List<DataListBean> data_list;

        public int getAvailable_lucky_num() {
            return available_lucky_num;
        }

        public void setAvailable_lucky_num(int available_lucky_num) {
            this.available_lucky_num = available_lucky_num;
        }

        public List<DataListBean> getData_list() {
            return data_list;
        }

        public void setData_list(List<DataListBean> data_list) {
            this.data_list = data_list;
        }

        public static class DataListBean {
            /**
             * reason : 幸运转盘抽奖
             * change_num : 600
             * change_type : 2
             * before_num : 1300
             * add_time : 2021-09-01 16:13:19
             */

            private String reason;
            private int change_num;
            private int change_type;
            private int before_num;
            private String add_time;

            public String getReason() {
                return reason;
            }

            public void setReason(String reason) {
                this.reason = reason;
            }

            public int getChange_num() {
                return change_num;
            }

            public void setChange_num(int change_num) {
                this.change_num = change_num;
            }

            public int getChange_type() {
                return change_type;
            }

            public void setChange_type(int change_type) {
                this.change_type = change_type;
            }

            public int getBefore_num() {
                return before_num;
            }

            public void setBefore_num(int before_num) {
                this.before_num = before_num;
            }

            public String getAdd_time() {
                return add_time;
            }

            public void setAdd_time(String add_time) {
                this.add_time = add_time;
            }
        }
    }
}
